Skip to content

fix(server): preserve routed outbound messages - #231

Merged
benbrandt merged 1 commit into
mainfrom
fix/lossless-remote-transport
Aug 5, 2026
Merged

fix(server): preserve routed outbound messages#231
benbrandt merged 1 commit into
mainfrom
fix/lossless-remote-transport

Conversation

@benbrandt

Copy link
Copy Markdown
Member

Summary

  • replace lossy fan-out queues with FIFO outbound mailboxes and exclusive receiver leases
  • preserve unread messages across SSE receiver handoff and return 409 for overlaps
  • drain naturally completed connections while keeping explicit shutdown abortive
  • route HTTP by connection or session and WebSocket through one aggregate mailbox
  • require session headers for every existing-session method, including NES and document notifications

HTTP JSON-RPC batches remain intentionally unsupported.

Testing

  • npm run check (862 tests)

@benbrandt
benbrandt merged commit 5f58a95 into main Aug 5, 2026
6 checks passed
@benbrandt
benbrandt deleted the fix/lossless-remote-transport branch August 5, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant